<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link href="http://www.sgfoot.com/favicon.png" rel="shortcut icon"/>
    <title>日记查看系统</title>
    <style type="text/css">
        ul {
            margin-left:10px;
            margin-right:10px;
            margin-top:10px;
            padding: 0;
        }
        li {
            width: 48%;
            float: left;
            margin: 0px;
            margin-left:1%;
            padding: 0px;
            height: 100px;
            display: inline;
            line-height: 100px;
            color: #fff;
            font-size: x-large;
            word-break:break-all;
            word-wrap : break-word;
            margin-bottom: 5px;
        }
        a {
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            text-decoration:none;
            color:#fff;
        }
        a:link{
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            text-decoration:none;
            color:#fff;
        }
        a:visited{
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            text-decoration:none;
            color:#fff;
        }
        a:hover{
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            text-decoration:none;
            color:#fff;
        }
        a:active{
            -webkit-tap-highlight-color: rgba(0,0,0,0);
            text-decoration:none;
            color:#fff;
        }
        .footer{
            position: absolute;
            top:95%;
            left:44%;
        }
        .footer a{
            color:#1E9FFF;
            font-size:14px;
        }
    </style>
</head>
<body>
<!-- <h1 align="center">日记查看系统</h1> -->
<div align="center">
    <ul>
        {php}$i=0;{/php}
        {foreach $dirList as $key=>$vo }
         <li style="background-color:{$colors[$i]}"><a href="{:url('view')}?dirpath={$key}">{$vo}</a></li>
        {php}$i++;{/php}
        {/foreach}
    </ul>
</div>
<div class="footer">

</div>
</body>
</html>

